﻿#region 命名空间

using System.Collections.Generic;
using Ext.Net;
using Sharp.DataTransferObject;
using Sharp.WebBooter.Areas.Platform.Models;

#endregion

namespace Sharp.WebBooter.Areas.Platform.Models
{
    public class IndexModel
    {
        public IndexModel()
        {
        }
        /// <summary>
        ///     用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        ///     新短信
        /// </summary>
        public int NewMessageCount { get; set; }

        public MessageIndexModel Message { get; set; }
   
        public Left LeftPanel { get; set; }


        public class Left
        {
            public Left()
            {
                LeftTrees = new Dictionary<string, Node>();
                Systems = new List<SubSystemDTO>();
            }
            public List<SubSystemDTO> Systems { get; set; }
            /// <summary>
            ///     左边树形菜单
            /// </summary>
            public Dictionary<string, Node> LeftTrees { get; set; }
        }
    }
}